package com.rabbit.eap.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rabbit.eap.system.entity.SysDictType;
import com.rabbit.eap.system.param.SysDictTypePageParam;
import com.rabbit.eap.system.vo.SysDictTypeVO;

import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;

/**
 * @projectName eap
 * @packageName com.rabbit.eap.system.mapper
 * @className SysDictTypeMapper
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/06/06 23:34:02
 * <p>Description:
 * 字典类型表 Mapper 接口
 * </p>

 */
@Repository
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    /**
     * 根据ID获取查询对象
     *
     * @param id
     * @return
     */
    SysDictTypeVO getSysDictTypeById(Serializable id);

    /**
     * 获取分页对象
     *
     * @param page
     * @param sysDictTypePageParam
     * @return
     */
    IPage<SysDictTypeVO> getSysDictTypePageList(@Param("page") Page page, @Param("param") SysDictTypePageParam sysDictTypePageParam);

}
